export class Nav {
  name: string;
  link: string;
  icon: string;
  isShowChildren: boolean;
  isActive: boolean;
  navItems: Array<Nav>;

  constructor(opts: {
    name?: string;
link?: string;
icon?: string;
isActive?: boolean;
isShowChildren?: boolean;
navItems?: Array<Nav>;
} = {}) {
  this.name = opts.name || '';
  this.link = opts.link || '';
  this.icon = opts.icon || '';
  this.isShowChildren = opts.isShowChildren || false;
  this.isActive = opts.isActive || false;
  this.navItems = opts.navItems || [];
}
}
